//
//  XHRSickBranchesModel.h
//  快医
//
//  Created by 孙博 on 16/7/8.
//
//

#import <Foundation/Foundation.h>

@interface XHRSickBranchesModel : NSObject

@property (nonatomic, copy)NSString * ci3_name;

@property (nonatomic, copy)NSNumber *ci3_id;

/*!
 *  昵称的拼音 获取的时候就应该转为拼音了
 *  例如：chuanzhipinyin
 */
@property (nonatomic, copy) NSString *namePinYin;


/*!
 *  昵称的拼音首字母
 *  例如：czbk
 */
@property (nonatomic, copy) NSString *nameFirstLetter;


+ (instancetype)modelWithDict:(NSDictionary *)dict;

+ (void)getSickBranchesListSuccess:(void(^)(NSArray<XHRSickBranchesModel *> *sickList))successBlock error:(void(^)())errorBlock;

/*!
 *  汉字转拼音
 */
+ (NSString *)getPinyinWithString:(NSString *)string;

/*!
 *  获取字符串首字母，如果首字母非字母，则返回"~"
 */
+ (NSString *)getFirstLetterWithString:(NSString *)string;

@end
